<?php
class UserModel extends Model {
protected $_validate         =         array(
        array('user_id','require','用户id必须！',1),
        //array('boss','require','必须选择隶属Boss！',1),
        array('password','require','密码必须！',2),
        array('repassword','password','密码不符',1,'confirm'),
        array('verify','require','验证码必须！'),
        array('user_id','','id已经存在',0,'unique','add'),
        ); 
        

}
?>